Skip to content

fix: install Android tools only when a flow needs them#98

Merged
V3RON merged 1 commit intomainfrom
feat/install-only-what-needed
Apr 7, 2026
Merged

fix: install Android tools only when a flow needs them#98
V3RON merged 1 commit intomainfrom
feat/install-only-what-needed

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Apr 7, 2026

Summary

  • install Android SDK components lazily by capability, ensuring adb up front and deferring emulator and AVD provisioning until those flows actually need them
  • stop bootstrapping Android command-line tools when requested packages are already present, and keep install logging for auto-installed SDK components
  • add regression coverage for device-only installs, emulator installs, discovery installs, and running-emulator attach behavior

Testing

  • pnpm vitest run src/tests/environment.test.ts src/tests/instance.test.ts src/tests/adb.test.ts src/tests/targets.test.ts
  • pnpm exec tsc --noEmit
  • pnpm exec eslint src/environment.ts src/runner.ts src/targets.ts src/adb.ts src/instance.ts src/tests/environment.test.ts src/tests/instance.test.ts src/tests/targets.test.ts

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-harness Ready Ready Preview, Comment Apr 7, 2026 8:44am

Request Review

@V3RON V3RON merged commit 3eda0bc into main Apr 7, 2026
6 checks passed
@V3RON V3RON deleted the feat/install-only-what-needed branch April 7, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant